#ifndef _SERIAL_H_INCLUDED_
#define _SERIAL_H_INCLUDED_

void serial_init(void);
int serial_is_send_enable(void);
void serial_send_byte(unsigned char b);
int serial_is_recv_enable(void);
int serial_is_error(void);
void serial_clear(void);
int serial_recv_byte_nocheck(void);
int serial_recv_byte(void);

int serial_intr_is_send_enable(void);
void serial_intr_send_enable(void);
void serial_intr_send_disable(void);
int serial_intr_is_recv_enable(void);
void serial_intr_recv_enable(void);
void serial_intr_recv_disable(void);

#endif
